package cn.com.nes.site.entity.vo.workOrder;

import cn.com.nes.site.entity.vo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * 按区域批量撤销工单VO
 */
@Data
public class CancelWorkOrdersByAreaCodeVO extends BaseVO {

    @ApiModelProperty(value = "项目id", required = true)
    @NotNull(message = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "行政区划代码", required = true)
    @NotNull(message = "行政区划代码")
    private String areaCode;

    @ApiModelProperty(value = "可撤销的状态列表", required = true)
    @NotEmpty(message = "可撤销的状态列表")
    private Set<String> workOrderStatusSet;

}
